import { View, Text } from 'react-native'
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import React from 'react';
import Home from '../screens/home/Home';
import My from '../screens/my/My';

const Stack = createNativeStackNavigator();


const AppNavigation = () => {
    return (
        <NavigationContainer>
            <Stack.Navigator screenOptions={{
                contentStyle: { backgroundColor: 'white' }
            }}>
                <Stack.Screen name="Home" options={{ headerShown: false }} component={Home} />
                <Stack.Screen name="My" options={{ headerShown: false }} component={My} />
            </Stack.Navigator>
        </NavigationContainer>
    )
}

export default AppNavigation